import { SafeAreaView } from 'react-native';
import { NavigationContainer, Page } from './demo/Navigation';
import { PortalProvider } from '@gorhom/portal';
import PropsTextVideo from "./tab/propsType"
import EventsTextVideo from "./tab/eventsType"
import MethodsTextVideo from "./tab/methodsType"
import VideoPIP from "./tab/videoPIP"

function TextVideoTest() {
    return (
        <SafeAreaView style={{ flex: 1 }}>
            <NavigationContainer>
                <PortalProvider>
                    <Page name='PropsTestVideo'>
                        <PropsTextVideo />
                    </Page>
                    <Page name='EventsTestVideo'>
                        <EventsTextVideo />
                    </Page>
                    <Page name='MethodsTestVideo'>
                        <MethodsTextVideo />
                    </Page>
                    <Page name='VideoPIPTest'>
                        <VideoPIP/>
                    </Page>                    
                </PortalProvider>
            </NavigationContainer>
        </SafeAreaView>
    );
}

export default TextVideoTest;
